package com.flitsneak.designpatterns.structuralpatterns.wrapper;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/13 14:00
 * @description
 */
public abstract class MakeupDecorator extends NatureLook{

    private NatureLook natureLook;

    public MakeupDecorator(NatureLook natureLook) {
        this.natureLook = natureLook;
    }

    protected abstract void doSomething();

    @Override
    protected String makeup() {
        return this.natureLook.makeup();
    }

    @Override
    protected int occasionWeight() {
        return this.natureLook.occasionWeight();
    }
}
